<?php if($sf_user->hasCredential('administrador') || $sf_user->hasCredential('vendedor')): ?>
<ul class="sf_admin_actions">
    <li><a href="<?php echo url_for('sfAdminDash/dashboard') ?>">Cancelar</a></li>
    <li><input type="submit" value="Guardar" /></li>
</ul>
<?php endif; ?>